const { CustomRoute } = require('../lib/decorator');
const { resolve } = require('path');

export const router = app => {
    const apiPath = resolve(__dirname, '../routes');
    const router = new CustomRoute(app, apiPath);

    router.init();
}